package com.yiqi.lottery.entity.bo;

import com.suozhang.framework.entity.bo.BaseEntity;

import java.util.List;

public class CharsBo implements BaseEntity {


    /**
     * order_id : 594
     * order_sn : 2018060656494810
     * created_at : 1528267112
     * order_status : 1
     * order_amount : 72.00
     * user_id : 9
     * charsing_num : 9
     * type : 1
     * bet_code : 04,06,12,18,29|01,03;05,21,27,28,31|09,10;01,03,04,10,28|04,11;05,12,19,23,32|07,09
     * charsing : [{"id":5,"order_id":594,"reward":"0.00","status":1,"created_at":1528267112,"updated_at":1528267112,"issue_id":"2018065","amount":"8.00","user_id":9,"award_results":""}]
     * reward : 0
     * has_charsing : 1
     */

    private int order_id;
    private String order_sn;
    private int created_at;
    private int order_status;
    private String order_amount;
    private int user_id;
    private int charsing_num;
    private int type;
    private String bet_code;
    private int reward;
    private int has_charsing;
    private List<CharsingBean> charsing;

    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public String getOrder_sn() {
        return order_sn;
    }

    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

    public int getCreated_at() {
        return created_at;
    }

    public void setCreated_at(int created_at) {
        this.created_at = created_at;
    }

    public int getOrder_status() {
        return order_status;
    }

    public void setOrder_status(int order_status) {
        this.order_status = order_status;
    }

    public String getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(String order_amount) {
        this.order_amount = order_amount;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getCharsing_num() {
        return charsing_num;
    }

    public void setCharsing_num(int charsing_num) {
        this.charsing_num = charsing_num;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getBet_code() {
        return bet_code;
    }

    public void setBet_code(String bet_code) {
        this.bet_code = bet_code;
    }

    public int getReward() {
        return reward;
    }

    public void setReward(int reward) {
        this.reward = reward;
    }

    public int getHas_charsing() {
        return has_charsing;
    }

    public void setHas_charsing(int has_charsing) {
        this.has_charsing = has_charsing;
    }

    public List<CharsingBean> getCharsing() {
        return charsing;
    }

    public void setCharsing(List<CharsingBean> charsing) {
        this.charsing = charsing;
    }

    public static class CharsingBean implements BaseEntity{
        /**
         * id : 5
         * order_id : 594
         * reward : 0.00
         * status : 1
         * created_at : 1528267112
         * updated_at : 1528267112
         * issue_id : 2018065
         * amount : 8.00
         * user_id : 9
         * award_results :
         */

        private int id;
        private int order_id;
        private String reward;
        private int status;
        private int created_at;
        private int updated_at;
        private String issue_id;
        private String amount;
        private int user_id;
        private String award_results;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getOrder_id() {
            return order_id;
        }

        public void setOrder_id(int order_id) {
            this.order_id = order_id;
        }

        public String getReward() {
            return reward;
        }

        public void setReward(String reward) {
            this.reward = reward;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getCreated_at() {
            return created_at;
        }

        public void setCreated_at(int created_at) {
            this.created_at = created_at;
        }

        public int getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(int updated_at) {
            this.updated_at = updated_at;
        }

        public String getIssue_id() {
            return issue_id;
        }

        public void setIssue_id(String issue_id) {
            this.issue_id = issue_id;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getAward_results() {
            return award_results;
        }

        public void setAward_results(String award_results) {
            this.award_results = award_results;
        }
    }
}
